#!/bin/sh

# M115
frequency=$1
#dutycycle=$2
halcmd setp laser.frequency-cmd $frequency
#halcmd setp laser.duty-cycle-cmd $dutycycle

#halcmd setp pyvcp.Duty-Cycle $dutycycle
halcmd setp pyvcp.Laser-Frequency $frequency
exit 0 ;# 0 for success
